package main

import (
	"go-goroutine/times"
)

func main() {
	// for i := 0; i < 10; i++ {
	// 	goroutine.Wg.Add(1)
	// 	go goroutine.Hello(i)
	// }
	// fmt.Println("go并发")
	// time.Sleep(time.Hour)
	//runtime.RuntimeGosched()
	// runtime.RuntimeGoexit()
	// runtime.GOMAXPROCS(1)
	// go rt.RuntimeGoMaxProcsa()
	// go rt.RuntimeGoMaxProcsb()
	// time.Sleep(time.Second)
	//channel.Chan4()
	times.Times()

}

//此处为main函数创建了一个goroutine
